package 强化训练;

import java.util.Scanner;

public class day44骆驼命名法 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        while(sc.hasNext()){
            String s = sc.next();
            StringBuilder sb = new StringBuilder();
            for(int i = 0 ; i < s.length() ;i ++){
                if(s.charAt(i) == '_'){
                    i++;
                    if(i < s.length()){
                        sb.append((char)(s.charAt(i) - 32));
                    }
                }else{
                    sb.append(s.charAt(i));
                }
            }
            System.out.println(sb);
        }
    }
}
